package com.tiny_wind.tiny_wind_diary.entity;

/**
 * 日记实体.
 * 1,一篇日记由日记单元的数组组成.
 */
public class DiaryEntity {
	//id
	public Integer id = null;
	/**
	 * 用户id.
	 */
	public Integer userId = null;
	//整型 日期,当天0时的秒数,比较省空间吧,判断比较快?
	//字符串 20231221 8个字节.差不多.
	public String year = null;
	public String month = null;
	public String day = null;
	/**
	 * 是否已经review了.
	 */
	public Boolean isReviewed = null;
	/**
	 * 日记单元.
	 */
	public DiaryUnitEntity[] units = null;
}
